<%--
  Created by IntelliJ IDEA.
  User: liuxianan
  Date: 2021/7/19
  Time: 12:24 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>我的教务</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入 Bootstrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<h1>我的教务</h1>

    <div class="container">

        <div class="row clearfix">
            <div class="col-md-12 column">
                <div class="page-header">
                    <h1>
                        <small>我的信息</small>
                    </h1>
                </div>
            </div>
        </div>


        <div class="row clearfix">
            <div class="col-md-12 column">
                <table class="table table-hover table-striped">
                    <thead>
                    <tr>
                        <th>学号</th>
                        <th>姓名</th>
                        <th>性别</th>
                        <th>生日</th>
                        <th>户籍</th>
                        <th>院号</th>
                        <th>课号</th>
                    </tr>
                    </thead>

                    <tbody>
                        <tr>
                            <td>${student.getSno()}</td>
                            <td>${student.getSname()}</td>
                            <td>${student.getSsex()}</td>
                            <td>${student.getSbirth()}</td>
                            <td>${student.getShometown()}</td>
                            <td>${student.getDno()}</td>
                            <td>${student.getCno()}</td>
                            <td>
                                <a href="${pageContext.request.contextPath}/student/toUpdateStudent?Sno=${student.getSno()}">更改我的学籍信息</a>
                            </td>
                        </tr>
                    </tbody>
                </table>

                <a href="${pageContext.request.contextPath}/course/showStudentCourse?STno=${student.getSno()}">我的课程</a>


            </div>
        </div>
    </div>
</body>

</html>
